package com.zxx.pattern.strategyPattern.strategy;

/**
 * @author zxx on 2021/1/7
 */
public class DuckRedHead extends Duck {

    public DuckRedHead() {
        System.out.println("只是一只红头鸭");
        super.flyBehavior = new FlyWithWings();
        super.quackBehavior = new QuackGuaGua();
    }
}
